package com.zc58s.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;

/**
 * @author : fujc-dev@qq.com
 * @created : 2022/10/12 14:20
 */
@ResponseBody
@Controller
@RequestMapping("/order")
public class OrderController {

    @GetMapping("/getDefaultUserInfo")
    public Map<String, Object> getDefaultUserInfo() {
        Map<String, Object> containers = new HashMap<>();
        containers.put("id", 10001);
        containers.put("username", "张三");
        containers.put("target", "provider8003");
        return containers;
    }
}
